# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=xmessage
pkgver=1.0.6
pkgrel=0
pkgdesc="Display a message or query in a window"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libxaw-dev libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/archive/individual/app/$pkgname-$pkgver.tar.xz"
options="!check"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
89deb7a81bd047027f99cb92cd16a47f94479c61a6f9fbac4638e6d642037b3e9bbac2313db59ac8c5544175947c693f6a210537c6df2b88dc3de1c67498cba8  xmessage-1.0.6.tar.xz
"
